package com.scientific.research.gobang.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private String name;//昵称
    private String password;
    private String email;
    private String codeLanguage;
    private String code;
    private String realName;//真实姓名
    private String sex;
    private String position;//居住地
    private String education;//教育程度
    private String personalWord;//个性签名
    private String inSchoolYear;//入学年份
    //超级用户选项
    @TableField(exist = false)//该字段不是数据库字段，却又是必需的
    private String isSuperUser;
}
